#include "Subject.h"

Subject::Subject() {
    instructor = 0;
}

Subject::~Subject() {
}

void Subject::setInstructor(Instructor* p_Instructor) {
    instructor = p_Instructor;
}

void Subject::addStudent(Student* p_Student) {
    students.push_back(p_Student);
}

Instructor* Subject::getInstructor() {
    return instructor;
}

std::vector<Student*> Subject::getStudents() {
    return students;
}
